package com.chinairi.mall.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chinairi.common.model.BaseModel;

import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 购物车表
 * </p>
 *
 * @author gsl
 * @since 2020-09-26
 */
@TableName("GOODS_SHOPPING_CART")
public class GoodsShoppingCart extends BaseModel {

    private static final long serialVersionUID = 1L;

    /**
     * 购物车主键
     */
    @TableId("SC_ID")
    private String scId;

    /**
     * 采购商ID
     */
    @TableField("GSC_UCI_DBID")
    private String gscUciDbid;

    /**
     * 用户ID
     */
    @TableField("USER_ID")
    private String userId;

    /**
     * 采购计划ID
     */
    @TableField("PLAN_PURCHASE_ID")
    private String planPurchaseId;

    /**
     * 供应商店铺ID
     */
    @TableField("CART_CS_DBID")
    private String cartCsDbid;

    /**
     * 供应商店铺名称
     */
    @TableField("CART_CS_SHOP_NAME")
    private String cartCsShopName;

    /**
     * 商品ID
     */
    @TableField("CART_GOODS_DBID")
    private String cartGoodsDbid;

    /**
     * 商品名称
     */
    @TableField("CART_GOODS_NAME")
    private String cartGoodsName;

    /**
     * 加入购物车时商品价格
     */
    @TableField("CART_GOODS_PRICE")
    private BigDecimal cartGoodsPrice;

    /**
     * 商品数量
     */
    @TableField("CART_GOODS_NUMBER")
    private Float cartGoodsNumber;

    /**
     * 计量单位
     */
    @TableField("CART_GOODS_UNIT")
    private String cartGoodsUnit;

    /**
     * 商品总金额
     */
    @TableField("CART_GOODS_MONEY")
    private BigDecimal cartGoodsMoney;

    /**
     * 加入购物车时间
     */
    @TableField("CART_ADD_TIME")
    private Date cartAddTime;

    /**
     * 状态
     */
    @TableField("CART_STATUS")
    private String cartStatus;

    /**
     * 创建人
     */
    @TableField("CREATE_USER")
    private String createUser;

    /**
     * 创建时间
     */
    @TableField("CREATE_TIME")
    private Date createTime;

    /**
     * 修改人
     */
    @TableField("UPDATE_USER")
    private String updateUser;

    /**
     * 修改时间
     */
    @TableField("UPDATE_TIME")
    private Date updateTime;

    @TableField(exist = false)
    private String matDbid;

    public String getMatDbid() {
        return matDbid;
    }

    public void setMatDbid(String matDbid) {
        this.matDbid = matDbid;
    }

    public String getScId() {
        return scId;
    }

    public void setScId(String scId) {
        this.scId = scId;
    }
    public String getGscUciDbid() {
        return gscUciDbid;
    }

    public void setGscUciDbid(String gscUciDbid) {
        this.gscUciDbid = gscUciDbid;
    }
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
    public String getPlanPurchaseId() {
        return planPurchaseId;
    }

    public void setPlanPurchaseId(String planPurchaseId) {
        this.planPurchaseId = planPurchaseId;
    }
    public String getCartCsDbid() {
        return cartCsDbid;
    }

    public void setCartCsDbid(String cartCsDbid) {
        this.cartCsDbid = cartCsDbid;
    }
    public String getCartGoodsDbid() {
        return cartGoodsDbid;
    }

    public void setCartGoodsDbid(String cartGoodsDbid) {
        this.cartGoodsDbid = cartGoodsDbid;
    }
    public String getCartGoodsName() {
        return cartGoodsName;
    }

    public void setCartGoodsName(String cartGoodsName) {
        this.cartGoodsName = cartGoodsName;
    }
    public BigDecimal getCartGoodsPrice() {
        return cartGoodsPrice;
    }

    public void setCartGoodsPrice(BigDecimal cartGoodsPrice) {
        this.cartGoodsPrice = cartGoodsPrice;
    }
    public Float getCartGoodsNumber() {
        return cartGoodsNumber;
    }

    public void setCartGoodsNumber(Float cartGoodsNumber) {
        this.cartGoodsNumber = cartGoodsNumber;
    }
    public String getCartGoodsUnit() {
        return cartGoodsUnit;
    }

    public void setCartGoodsUnit(String cartGoodsUnit) {
        this.cartGoodsUnit = cartGoodsUnit;
    }
    public BigDecimal getCartGoodsMoney() {
        return cartGoodsMoney;
    }

    public void setCartGoodsMoney(BigDecimal cartGoodsMoney) {
        this.cartGoodsMoney = cartGoodsMoney;
    }
    public Date getCartAddTime() {
        return cartAddTime;
    }

    public void setCartAddTime(Date cartAddTime) {
        this.cartAddTime = cartAddTime;
    }
    public String getCartStatus() {
        return cartStatus;
    }

    public void setCartStatus(String cartStatus) {
        this.cartStatus = cartStatus;
    }
    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "GoodsShoppingCart{" +
                "scId='" + scId + '\'' +
                ", gscUciDbid='" + gscUciDbid + '\'' +
                ", userId='" + userId + '\'' +
                ", planPurchaseId='" + planPurchaseId + '\'' +
                ", cartCsDbid='" + cartCsDbid + '\'' +
                ", cartCsShopName='" + cartCsShopName + '\'' +
                ", cartGoodsDbid='" + cartGoodsDbid + '\'' +
                ", cartGoodsName='" + cartGoodsName + '\'' +
                ", cartGoodsPrice=" + cartGoodsPrice +
                ", cartGoodsNumber=" + cartGoodsNumber +
                ", cartGoodsUnit='" + cartGoodsUnit + '\'' +
                ", cartGoodsMoney=" + cartGoodsMoney +
                ", cartAddTime=" + cartAddTime +
                ", cartStatus='" + cartStatus + '\'' +
                ", createUser='" + createUser + '\'' +
                ", createTime=" + createTime +
                ", updateUser='" + updateUser + '\'' +
                ", updateTime=" + updateTime +
                ", matDbid='" + matDbid + '\'' +
                '}';
    }

    public String getCartCsShopName() {
        return cartCsShopName;
    }

    public void setCartCsShopName(String cartCsShopName) {
        this.cartCsShopName = cartCsShopName;
    }
}
